package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * 
 * @TableName purchase_order
 */
@TableName(value ="purchase_order")
public class PurchaseOrder implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Object id;

    /**
     * 
     */
    private String ordernumber;

    /**
     * 
     */
    private String ordertime;

    /**
     * 
     */
    private String productmodel;

    /**
     * 
     */
    private String goodsprice;

    /**
     * 
     */
    private String goodsnumber;

    /**
     * 
     */
    private String totalprice;

    /**
     * 
     */
    private String companyname;

    /**
     * 
     */
    private String companyaddress;

    /**
     * 
     */
    private String contactsname;

    /**
     * 
     */
    private String contactsphone;

    /**
     * 
     */
    private String contactsemail;

    /**
     * 
     */
    private String deliverytime;

    /**
     * 
     */
    private String installdemand;

    /**
     * 
     */
    private String checkstandard;

    /**
     * 
     */
    private String suppliercompany;

    /**
     * 
     */
    private String suppliercompanyaddress;

    /**
     * 
     */
    private String suppliercompanycontacts;

    /**
     * 
     */
    private String suppliercompanyphone;

    /**
     * 
     */
    private String suppliercompanyemail;

    /**
     * 
     */
    private String ispayment;

    /**
     * 
     */
    private String issignbuy;

    /**
     * 
     */
    private String issignseller;

    /**
     * 
     */
    private String identifycode;

    /**
     * 
     */
    private String ispart;

    /**
     * 
     */
    private String orderstate;

    /**
     * 
     */
    private String trainingid;

    /**
     * 
     */
    private String userid;

    /**
     * 
     */
    private String paymentaccount;

    /**
     * 
     */
    private String accountname;

    /**
     * 
     */
    private String deliverydate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Object getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Object id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getOrdernumber() {
        return ordernumber;
    }

    /**
     * 
     */
    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber;
    }

    /**
     * 
     */
    public String getOrdertime() {
        return ordertime;
    }

    /**
     * 
     */
    public void setOrdertime(String ordertime) {
        this.ordertime = ordertime;
    }

    /**
     * 
     */
    public String getProductmodel() {
        return productmodel;
    }

    /**
     * 
     */
    public void setProductmodel(String productmodel) {
        this.productmodel = productmodel;
    }

    /**
     * 
     */
    public String getGoodsprice() {
        return goodsprice;
    }

    /**
     * 
     */
    public void setGoodsprice(String goodsprice) {
        this.goodsprice = goodsprice;
    }

    /**
     * 
     */
    public String getGoodsnumber() {
        return goodsnumber;
    }

    /**
     * 
     */
    public void setGoodsnumber(String goodsnumber) {
        this.goodsnumber = goodsnumber;
    }

    /**
     * 
     */
    public String getTotalprice() {
        return totalprice;
    }

    /**
     * 
     */
    public void setTotalprice(String totalprice) {
        this.totalprice = totalprice;
    }

    /**
     * 
     */
    public String getCompanyname() {
        return companyname;
    }

    /**
     * 
     */
    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

    /**
     * 
     */
    public String getCompanyaddress() {
        return companyaddress;
    }

    /**
     * 
     */
    public void setCompanyaddress(String companyaddress) {
        this.companyaddress = companyaddress;
    }

    /**
     * 
     */
    public String getContactsname() {
        return contactsname;
    }

    /**
     * 
     */
    public void setContactsname(String contactsname) {
        this.contactsname = contactsname;
    }

    /**
     * 
     */
    public String getContactsphone() {
        return contactsphone;
    }

    /**
     * 
     */
    public void setContactsphone(String contactsphone) {
        this.contactsphone = contactsphone;
    }

    /**
     * 
     */
    public String getContactsemail() {
        return contactsemail;
    }

    /**
     * 
     */
    public void setContactsemail(String contactsemail) {
        this.contactsemail = contactsemail;
    }

    /**
     * 
     */
    public String getDeliverytime() {
        return deliverytime;
    }

    /**
     * 
     */
    public void setDeliverytime(String deliverytime) {
        this.deliverytime = deliverytime;
    }

    /**
     * 
     */
    public String getInstalldemand() {
        return installdemand;
    }

    /**
     * 
     */
    public void setInstalldemand(String installdemand) {
        this.installdemand = installdemand;
    }

    /**
     * 
     */
    public String getCheckstandard() {
        return checkstandard;
    }

    /**
     * 
     */
    public void setCheckstandard(String checkstandard) {
        this.checkstandard = checkstandard;
    }

    /**
     * 
     */
    public String getSuppliercompany() {
        return suppliercompany;
    }

    /**
     * 
     */
    public void setSuppliercompany(String suppliercompany) {
        this.suppliercompany = suppliercompany;
    }

    /**
     * 
     */
    public String getSuppliercompanyaddress() {
        return suppliercompanyaddress;
    }

    /**
     * 
     */
    public void setSuppliercompanyaddress(String suppliercompanyaddress) {
        this.suppliercompanyaddress = suppliercompanyaddress;
    }

    /**
     * 
     */
    public String getSuppliercompanycontacts() {
        return suppliercompanycontacts;
    }

    /**
     * 
     */
    public void setSuppliercompanycontacts(String suppliercompanycontacts) {
        this.suppliercompanycontacts = suppliercompanycontacts;
    }

    /**
     * 
     */
    public String getSuppliercompanyphone() {
        return suppliercompanyphone;
    }

    /**
     * 
     */
    public void setSuppliercompanyphone(String suppliercompanyphone) {
        this.suppliercompanyphone = suppliercompanyphone;
    }

    /**
     * 
     */
    public String getSuppliercompanyemail() {
        return suppliercompanyemail;
    }

    /**
     * 
     */
    public void setSuppliercompanyemail(String suppliercompanyemail) {
        this.suppliercompanyemail = suppliercompanyemail;
    }

    /**
     * 
     */
    public String getIspayment() {
        return ispayment;
    }

    /**
     * 
     */
    public void setIspayment(String ispayment) {
        this.ispayment = ispayment;
    }

    /**
     * 
     */
    public String getIssignbuy() {
        return issignbuy;
    }

    /**
     * 
     */
    public void setIssignbuy(String issignbuy) {
        this.issignbuy = issignbuy;
    }

    /**
     * 
     */
    public String getIssignseller() {
        return issignseller;
    }

    /**
     * 
     */
    public void setIssignseller(String issignseller) {
        this.issignseller = issignseller;
    }

    /**
     * 
     */
    public String getIdentifycode() {
        return identifycode;
    }

    /**
     * 
     */
    public void setIdentifycode(String identifycode) {
        this.identifycode = identifycode;
    }

    /**
     * 
     */
    public String getIspart() {
        return ispart;
    }

    /**
     * 
     */
    public void setIspart(String ispart) {
        this.ispart = ispart;
    }

    /**
     * 
     */
    public String getOrderstate() {
        return orderstate;
    }

    /**
     * 
     */
    public void setOrderstate(String orderstate) {
        this.orderstate = orderstate;
    }

    /**
     * 
     */
    public String getTrainingid() {
        return trainingid;
    }

    /**
     * 
     */
    public void setTrainingid(String trainingid) {
        this.trainingid = trainingid;
    }

    /**
     * 
     */
    public String getUserid() {
        return userid;
    }

    /**
     * 
     */
    public void setUserid(String userid) {
        this.userid = userid;
    }

    /**
     * 
     */
    public String getPaymentaccount() {
        return paymentaccount;
    }

    /**
     * 
     */
    public void setPaymentaccount(String paymentaccount) {
        this.paymentaccount = paymentaccount;
    }

    /**
     * 
     */
    public String getAccountname() {
        return accountname;
    }

    /**
     * 
     */
    public void setAccountname(String accountname) {
        this.accountname = accountname;
    }

    /**
     * 
     */
    public String getDeliverydate() {
        return deliverydate;
    }

    /**
     * 
     */
    public void setDeliverydate(String deliverydate) {
        this.deliverydate = deliverydate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PurchaseOrder other = (PurchaseOrder) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrdernumber() == null ? other.getOrdernumber() == null : this.getOrdernumber().equals(other.getOrdernumber()))
            && (this.getOrdertime() == null ? other.getOrdertime() == null : this.getOrdertime().equals(other.getOrdertime()))
            && (this.getProductmodel() == null ? other.getProductmodel() == null : this.getProductmodel().equals(other.getProductmodel()))
            && (this.getGoodsprice() == null ? other.getGoodsprice() == null : this.getGoodsprice().equals(other.getGoodsprice()))
            && (this.getGoodsnumber() == null ? other.getGoodsnumber() == null : this.getGoodsnumber().equals(other.getGoodsnumber()))
            && (this.getTotalprice() == null ? other.getTotalprice() == null : this.getTotalprice().equals(other.getTotalprice()))
            && (this.getCompanyname() == null ? other.getCompanyname() == null : this.getCompanyname().equals(other.getCompanyname()))
            && (this.getCompanyaddress() == null ? other.getCompanyaddress() == null : this.getCompanyaddress().equals(other.getCompanyaddress()))
            && (this.getContactsname() == null ? other.getContactsname() == null : this.getContactsname().equals(other.getContactsname()))
            && (this.getContactsphone() == null ? other.getContactsphone() == null : this.getContactsphone().equals(other.getContactsphone()))
            && (this.getContactsemail() == null ? other.getContactsemail() == null : this.getContactsemail().equals(other.getContactsemail()))
            && (this.getDeliverytime() == null ? other.getDeliverytime() == null : this.getDeliverytime().equals(other.getDeliverytime()))
            && (this.getInstalldemand() == null ? other.getInstalldemand() == null : this.getInstalldemand().equals(other.getInstalldemand()))
            && (this.getCheckstandard() == null ? other.getCheckstandard() == null : this.getCheckstandard().equals(other.getCheckstandard()))
            && (this.getSuppliercompany() == null ? other.getSuppliercompany() == null : this.getSuppliercompany().equals(other.getSuppliercompany()))
            && (this.getSuppliercompanyaddress() == null ? other.getSuppliercompanyaddress() == null : this.getSuppliercompanyaddress().equals(other.getSuppliercompanyaddress()))
            && (this.getSuppliercompanycontacts() == null ? other.getSuppliercompanycontacts() == null : this.getSuppliercompanycontacts().equals(other.getSuppliercompanycontacts()))
            && (this.getSuppliercompanyphone() == null ? other.getSuppliercompanyphone() == null : this.getSuppliercompanyphone().equals(other.getSuppliercompanyphone()))
            && (this.getSuppliercompanyemail() == null ? other.getSuppliercompanyemail() == null : this.getSuppliercompanyemail().equals(other.getSuppliercompanyemail()))
            && (this.getIspayment() == null ? other.getIspayment() == null : this.getIspayment().equals(other.getIspayment()))
            && (this.getIssignbuy() == null ? other.getIssignbuy() == null : this.getIssignbuy().equals(other.getIssignbuy()))
            && (this.getIssignseller() == null ? other.getIssignseller() == null : this.getIssignseller().equals(other.getIssignseller()))
            && (this.getIdentifycode() == null ? other.getIdentifycode() == null : this.getIdentifycode().equals(other.getIdentifycode()))
            && (this.getIspart() == null ? other.getIspart() == null : this.getIspart().equals(other.getIspart()))
            && (this.getOrderstate() == null ? other.getOrderstate() == null : this.getOrderstate().equals(other.getOrderstate()))
            && (this.getTrainingid() == null ? other.getTrainingid() == null : this.getTrainingid().equals(other.getTrainingid()))
            && (this.getUserid() == null ? other.getUserid() == null : this.getUserid().equals(other.getUserid()))
            && (this.getPaymentaccount() == null ? other.getPaymentaccount() == null : this.getPaymentaccount().equals(other.getPaymentaccount()))
            && (this.getAccountname() == null ? other.getAccountname() == null : this.getAccountname().equals(other.getAccountname()))
            && (this.getDeliverydate() == null ? other.getDeliverydate() == null : this.getDeliverydate().equals(other.getDeliverydate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrdernumber() == null) ? 0 : getOrdernumber().hashCode());
        result = prime * result + ((getOrdertime() == null) ? 0 : getOrdertime().hashCode());
        result = prime * result + ((getProductmodel() == null) ? 0 : getProductmodel().hashCode());
        result = prime * result + ((getGoodsprice() == null) ? 0 : getGoodsprice().hashCode());
        result = prime * result + ((getGoodsnumber() == null) ? 0 : getGoodsnumber().hashCode());
        result = prime * result + ((getTotalprice() == null) ? 0 : getTotalprice().hashCode());
        result = prime * result + ((getCompanyname() == null) ? 0 : getCompanyname().hashCode());
        result = prime * result + ((getCompanyaddress() == null) ? 0 : getCompanyaddress().hashCode());
        result = prime * result + ((getContactsname() == null) ? 0 : getContactsname().hashCode());
        result = prime * result + ((getContactsphone() == null) ? 0 : getContactsphone().hashCode());
        result = prime * result + ((getContactsemail() == null) ? 0 : getContactsemail().hashCode());
        result = prime * result + ((getDeliverytime() == null) ? 0 : getDeliverytime().hashCode());
        result = prime * result + ((getInstalldemand() == null) ? 0 : getInstalldemand().hashCode());
        result = prime * result + ((getCheckstandard() == null) ? 0 : getCheckstandard().hashCode());
        result = prime * result + ((getSuppliercompany() == null) ? 0 : getSuppliercompany().hashCode());
        result = prime * result + ((getSuppliercompanyaddress() == null) ? 0 : getSuppliercompanyaddress().hashCode());
        result = prime * result + ((getSuppliercompanycontacts() == null) ? 0 : getSuppliercompanycontacts().hashCode());
        result = prime * result + ((getSuppliercompanyphone() == null) ? 0 : getSuppliercompanyphone().hashCode());
        result = prime * result + ((getSuppliercompanyemail() == null) ? 0 : getSuppliercompanyemail().hashCode());
        result = prime * result + ((getIspayment() == null) ? 0 : getIspayment().hashCode());
        result = prime * result + ((getIssignbuy() == null) ? 0 : getIssignbuy().hashCode());
        result = prime * result + ((getIssignseller() == null) ? 0 : getIssignseller().hashCode());
        result = prime * result + ((getIdentifycode() == null) ? 0 : getIdentifycode().hashCode());
        result = prime * result + ((getIspart() == null) ? 0 : getIspart().hashCode());
        result = prime * result + ((getOrderstate() == null) ? 0 : getOrderstate().hashCode());
        result = prime * result + ((getTrainingid() == null) ? 0 : getTrainingid().hashCode());
        result = prime * result + ((getUserid() == null) ? 0 : getUserid().hashCode());
        result = prime * result + ((getPaymentaccount() == null) ? 0 : getPaymentaccount().hashCode());
        result = prime * result + ((getAccountname() == null) ? 0 : getAccountname().hashCode());
        result = prime * result + ((getDeliverydate() == null) ? 0 : getDeliverydate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", ordernumber=").append(ordernumber);
        sb.append(", ordertime=").append(ordertime);
        sb.append(", productmodel=").append(productmodel);
        sb.append(", goodsprice=").append(goodsprice);
        sb.append(", goodsnumber=").append(goodsnumber);
        sb.append(", totalprice=").append(totalprice);
        sb.append(", companyname=").append(companyname);
        sb.append(", companyaddress=").append(companyaddress);
        sb.append(", contactsname=").append(contactsname);
        sb.append(", contactsphone=").append(contactsphone);
        sb.append(", contactsemail=").append(contactsemail);
        sb.append(", deliverytime=").append(deliverytime);
        sb.append(", installdemand=").append(installdemand);
        sb.append(", checkstandard=").append(checkstandard);
        sb.append(", suppliercompany=").append(suppliercompany);
        sb.append(", suppliercompanyaddress=").append(suppliercompanyaddress);
        sb.append(", suppliercompanycontacts=").append(suppliercompanycontacts);
        sb.append(", suppliercompanyphone=").append(suppliercompanyphone);
        sb.append(", suppliercompanyemail=").append(suppliercompanyemail);
        sb.append(", ispayment=").append(ispayment);
        sb.append(", issignbuy=").append(issignbuy);
        sb.append(", issignseller=").append(issignseller);
        sb.append(", identifycode=").append(identifycode);
        sb.append(", ispart=").append(ispart);
        sb.append(", orderstate=").append(orderstate);
        sb.append(", trainingid=").append(trainingid);
        sb.append(", userid=").append(userid);
        sb.append(", paymentaccount=").append(paymentaccount);
        sb.append(", accountname=").append(accountname);
        sb.append(", deliverydate=").append(deliverydate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}